package com.yunkaweilai.android.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2018/7/2.
 */

public class RechargeWxInfoBean {


    /**
     * payResult : {"appid":"wx4a21f6af0c853583","partnerid":"1507740411","prepayid":"wx12170856051035794d983e753517720078","package":"Sign=WXPay","noncestr":"f1vb0jchudeci2jjhlpdeo7id2slz5hf","timestamp":1531386296,"sign":"0461A255448FCCF6A57F5E66A659DE4F"}
     */

    private DataBean data;
    /**
     * data : {"payResult":{"appid":"wx4a21f6af0c853583","partnerid":"1507740411","prepayid":"wx12170856051035794d983e753517720078","package":"Sign=WXPay","noncestr":"f1vb0jchudeci2jjhlpdeo7id2slz5hf","timestamp":1531386296,"sign":"0461A255448FCCF6A57F5E66A659DE4F"}}
     * msg : 成功
     * code : 200
     */

    private String msg;
    private int code;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBean {
            private PayResult payResult;

        public PayResult getPayResult() {
            return payResult;
        }

        public void setPayResult(PayResult payResult) {
            this.payResult = payResult;
        }

        public static class PayResult{
                private String appid;
                private String partnerid;
                private String prepayid;
                @SerializedName("package")
                private String packageX;
                private String noncestr;
                private int timestamp;
                private String sign;
                public String getAppid() {
                    return appid;
                }

                public void setAppid(String appid) {
                    this.appid = appid;
                }

                public String getPartnerid() {
                    return partnerid;
                }

                public void setPartnerid(String partnerid) {
                    this.partnerid = partnerid;
                }

                public String getPrepayid() {
                    return prepayid;
                }

                public void setPrepayid(String prepayid) {
                    this.prepayid = prepayid;
                }

                public String getPackageX() {
                    return packageX;
                }

                public void setPackageX(String packageX) {
                    this.packageX = packageX;
                }

                public String getNoncestr() {
                    return noncestr;
                }

                public void setNoncestr(String noncestr) {
                    this.noncestr = noncestr;
                }

                public int getTimestamp() {
                    return timestamp;
                }

                public void setTimestamp(int timestamp) {
                    this.timestamp = timestamp;
                }

                public String getSign() {
                    return sign;
                }

                public void setSign(String sign) {
                    this.sign = sign;
                }
            }

        }
}
